[INFO] cloning repository https://github.com/Wantbetter/fdm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wantbetter/fdm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14eea3e9378c15774333eafc20c1b4486fccd6d5
[INFO] checking Wantbetter/fdm against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWantbetter%2Ffdm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Wantbetter/fdm
[INFO] finished tweaking git repo https://github.com/Wantbetter/fdm
[INFO] tweaked toml for git repo https://github.com/Wantbetter/fdm written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Wantbetter/fdm on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Wantbetter/fdm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-complex v0.2.1
[INFO] [stderr]   Downloaded getset v0.0.7
[INFO] [stderr]   Downloaded either v1.5.2
[INFO] [stderr]   Downloaded ndarray v0.12.1
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded syn v0.15.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec
[INFO] running `Command { std: "docker" "start" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling syn v0.15.30
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling ndarray v0.12.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling getset v0.0.7
[INFO] [stderr]     Checking fdm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Array3` and `Array`
[INFO] [stdout]  --> src/sw.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2, Array3, ShapeBuilder};
[INFO] [stdout]   |               ^^^^^          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/lame.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2, ShapeBuilder};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs`, `mem`, and `path::Path`
[INFO] [stdout]  --> src/io/grd.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs,
[INFO] [stdout]   |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 5 |     mem,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     path::Path,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WriteBytesExt`
[INFO] [stdout]  --> src/io/grd.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array3` and `Array`
[INFO] [stdout]  --> src/sw.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2, Array3, ShapeBuilder};
[INFO] [stdout]   |               ^^^^^          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/lame.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2, ShapeBuilder};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs`, `mem`, and `path::Path`
[INFO] [stdout]  --> src/io/grd.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs,
[INFO] [stdout]   |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 5 |     mem,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     path::Path,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WriteBytesExt`
[INFO] [stdout]  --> src/io/grd.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sw.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut r = vmax.powf(2.0) * dt.powf(2.0) * (1.0 / dx.powf(2.0) + 1.0 / dz.powf(2.0)) * d;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vpmin`
[INFO] [stdout]   --> src/sw.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let (vpmax, vpmin, vsmax, vsmin) = (
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_vpmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vsmin`
[INFO] [stdout]   --> src/sw.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let (vpmax, vpmin, vsmax, vsmin) = (
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wave`
[INFO] [stdout]    --> src/sw.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let wave = crate::wavelet::ricker(fm, t0, dt, nt);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_wave`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]    --> src/sw.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]    --> src/sw.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c3`
[INFO] [stdout]    --> src/sw.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(pp).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c4`
[INFO] [stdout]    --> src/sw.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(pp).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c5`
[INFO] [stdout]    --> src/sw.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let c5 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lame_c).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c6`
[INFO] [stdout]    --> src/sw.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let c6 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lambda).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c7`
[INFO] [stdout]    --> src/sw.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let c7 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lambda).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c8`
[INFO] [stdout]    --> src/sw.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let c8 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lame_c).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c9`
[INFO] [stdout]    --> src/sw.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let c9 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&miu).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c9`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c0`
[INFO] [stdout]    --> src/sw.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let c0 = (2.0 * dt).div(2.0 + dt * d_pml_z) * (&miu).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z_nodes_pml`
[INFO] [stdout]    --> src/sw.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let z_nodes_pml = jl..(nz_pml_jl - jl);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes_pml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_nodes_pml`
[INFO] [stdout]    --> src/sw.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let x_nodes_pml = jl..(nx_pml_jl - jl);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes_pml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z_nodes`
[INFO] [stdout]    --> src/sw.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let z_nodes = (jl + pml_h)..(jl + pml_h + nz);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_nodes`
[INFO] [stdout]    --> src/sw.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let x_nodes = (jl + pml_h)..(jl + pml_h + nx);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nsrcx`
[INFO] [stdout]    --> src/sw.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let nsrcx = jl + pml_h + sx;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nsrcz`
[INFO] [stdout]    --> src/sw.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let nsrcz = jl + pml_h + sz;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxt`
[INFO] [stdout]    --> src/sw.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let vxt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxx`
[INFO] [stdout]    --> src/sw.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |     let vxx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxz`
[INFO] [stdout]    --> src/sw.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let vxz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzt`
[INFO] [stdout]    --> src/sw.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let vzt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzx`
[INFO] [stdout]    --> src/sw.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let vzx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzz`
[INFO] [stdout]    --> src/sw.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let vzz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxt`
[INFO] [stdout]    --> src/sw.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let txxt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxx`
[INFO] [stdout]    --> src/sw.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let txxx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxz`
[INFO] [stdout]    --> src/sw.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let txxz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzzz`
[INFO] [stdout]    --> src/sw.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let tzzz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tzzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txzt`
[INFO] [stdout]    --> src/sw.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let txzt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txzt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txzz`
[INFO] [stdout]    --> src/sw.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let txzz = [zeros.clone(), zeros];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_sum`
[INFO] [stdout]    --> src/sw.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let p_sum = std::f64::NAN * Array2::<f64>::ones((nz_pml, nx_pml));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/sw.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let p = vec![std::f64::NAN * Array2::<f64>::ones((nz, nx)); nt];
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sw.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut r = vmax.powf(2.0) * dt.powf(2.0) * (1.0 / dx.powf(2.0) + 1.0 / dz.powf(2.0)) * d;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/io/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut lines: Vec<_> = file.lines().map(|l| l.unwrap()).collect();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vpmin`
[INFO] [stdout]   --> src/sw.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let (vpmax, vpmin, vsmax, vsmin) = (
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_vpmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vsmin`
[INFO] [stdout]   --> src/sw.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let (vpmax, vpmin, vsmax, vsmin) = (
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wave`
[INFO] [stdout]    --> src/sw.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let wave = crate::wavelet::ricker(fm, t0, dt, nt);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_wave`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]    --> src/sw.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]    --> src/sw.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c3`
[INFO] [stdout]    --> src/sw.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(pp).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c4`
[INFO] [stdout]    --> src/sw.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(pp).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c5`
[INFO] [stdout]    --> src/sw.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let c5 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lame_c).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c6`
[INFO] [stdout]    --> src/sw.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let c6 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lambda).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c7`
[INFO] [stdout]    --> src/sw.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let c7 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&lambda).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c8`
[INFO] [stdout]    --> src/sw.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let c8 = (2.0 * dt).div(2.0 + dt * &d_pml_z) * (&lame_c).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c9`
[INFO] [stdout]    --> src/sw.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let c9 = (2.0 * dt).div(2.0 + dt * &d_pml_x) * (&miu).div(dx);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c9`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c0`
[INFO] [stdout]    --> src/sw.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let c0 = (2.0 * dt).div(2.0 + dt * d_pml_z) * (&miu).div(dz);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_c0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z_nodes_pml`
[INFO] [stdout]    --> src/sw.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let z_nodes_pml = jl..(nz_pml_jl - jl);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes_pml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_nodes_pml`
[INFO] [stdout]    --> src/sw.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let x_nodes_pml = jl..(nx_pml_jl - jl);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes_pml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z_nodes`
[INFO] [stdout]    --> src/sw.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let z_nodes = (jl + pml_h)..(jl + pml_h + nz);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_nodes`
[INFO] [stdout]    --> src/sw.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let x_nodes = (jl + pml_h)..(jl + pml_h + nx);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nsrcx`
[INFO] [stdout]    --> src/sw.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let nsrcx = jl + pml_h + sx;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nsrcz`
[INFO] [stdout]    --> src/sw.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let nsrcz = jl + pml_h + sz;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nsrcz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxt`
[INFO] [stdout]    --> src/sw.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let vxt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxx`
[INFO] [stdout]    --> src/sw.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |     let vxx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vxz`
[INFO] [stdout]    --> src/sw.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let vxz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vxz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzt`
[INFO] [stdout]    --> src/sw.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let vzt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzx`
[INFO] [stdout]    --> src/sw.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let vzx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vzz`
[INFO] [stdout]    --> src/sw.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let vzz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_vzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxt`
[INFO] [stdout]    --> src/sw.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let txxt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxx`
[INFO] [stdout]    --> src/sw.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let txxx = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txxz`
[INFO] [stdout]    --> src/sw.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let txxz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txxz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzzz`
[INFO] [stdout]    --> src/sw.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let tzzz = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tzzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txzt`
[INFO] [stdout]    --> src/sw.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let txzt = [zeros.clone(), zeros.clone()];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txzt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txzz`
[INFO] [stdout]    --> src/sw.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let txzz = [zeros.clone(), zeros];
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_txzz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_sum`
[INFO] [stdout]    --> src/sw.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let p_sum = std::f64::NAN * Array2::<f64>::ones((nz_pml, nx_pml));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/sw.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let p = vec![std::f64::NAN * Array2::<f64>::ones((nz, nx)); nt];
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/io/mod.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             write!(file, "{}\r\n", model_template[i]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let _ = write!(file, "{}\r\n", model_template[i]);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/io/mod.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             write!(file, "{}\r\n", model_values[i]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let _ = write!(file, "{}\r\n", model_values[i]);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/io/mod.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut lines: Vec<_> = file.lines().map(|l| l.unwrap()).collect();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/io/mod.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             write!(file, "{}\r\n", model_template[i]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let _ = write!(file, "{}\r\n", model_template[i]);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/io/mod.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             write!(file, "{}\r\n", model_values[i]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let _ = write!(file, "{}\r\n", model_values[i]);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array` and `Axis`
[INFO] [stdout]  --> src/main.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray::{Array2, Array, ShapeBuilder, Axis};
[INFO] [stdout]   |                       ^^^^^                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fdm::sw`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use fdm::sw;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::{Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:24:66
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let pp = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:23:66
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let vs = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:22:66
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let vp = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 2000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c3`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(&pp).div(dx);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c4`
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(&pp).div(dz);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array` and `Axis`
[INFO] [stdout]  --> src/main.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray::{Array2, Array, ShapeBuilder, Axis};
[INFO] [stdout]   |                       ^^^^^                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fdm::sw`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use fdm::sw;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::{Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:24:66
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let pp = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:23:66
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let vs = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 1000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix`
[INFO] [stdout]   --> src/main.rs:22:66
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let vp = Array2::<f64>::from_shape_fn((nz_pml, nx_pml).f(), |ix| 2000.0);
[INFO] [stdout]    |                                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let c1 = (2.0 - dt * &d_pml_x).div(2.0 + dt * &d_pml_x);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let c2 = (2.0 - dt * &d_pml_z).div(2.0 + dt * &d_pml_z);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c3`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let c3 = (2.0 * dt).div(2.0 + dt * &d_pml_x).div(&pp).div(dx);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c4`
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let c4 = (2.0 * dt).div(2.0 + dt * &d_pml_z).div(&pp).div(dz);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_c4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.96s
[INFO] running `Command { std: "docker" "inspect" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec", kill_on_drop: false }`
[INFO] [stdout] 86a1cc094dd1079e8e69aae5f7a976c46849a9e0d94f02c798f946e88b0b38ec
